<?php

    function build_actions_to_string($array){
        $result = "array(";
        foreach($array as $value){
            
            $result = $result . "array(";
            foreach($value as $k => $v){
                $result = $result .  "'" . $k . "' => '" . $v . "'," ;
            }
            $result = $result . "),";
        }
        $result = $result . ")";
        return $result;
    }
    
?>